#!/bin/bash

# 官方
curl -L "https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

# 七牛
curl -o /usr/local/bin/docker-compose https://oss.liufq.cn/tools/docker/docker-compose-linux-x86_64

# 公司内网
curl -o /usr/local/bin/docker-compose ftp://admin:ci_CcXx_4202ftp@10.20.140.138/tools/docker/docker-compose

chmod +x /usr/local/bin/docker-compose